<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:py="http://genshi.edgewall.org/"
  xmlns:xi="http://www.w3.org/2001/XInclude">
  <xi:include href="master.html" />
  <head>
    <title>Viewing paste #${paste.id}</title>
    <style type="text/css" py:content="highlightStyles" />
  </head>
  <body>
    <div id="paste_${paste.id}" class="pasteview">
      <div class="paste_header">
        ${paste.lang=="None" and "P" or "%s code p" % languages[paste.lang]}asted @ ${paste.pasted_on.strftime("%H:%M")}
        on ${paste.pasted_on.strftime("%a, %d %b %y")}
        <ul class="actions">
          <li class="first"><a href="${tg.url('/paste/%s/copy#edit' % paste.id)}">Copy &amp; Paste</a></li>
          <li><a href="${tg.url('/paste/%s/plain' % paste.id)}">Plain Text</a></li>
        </ul>
      </div>
      ${XML(paste.formatted_lines)}
    </div>
  </body>
</html>
